package com.guage.model;
import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 商品分类表
 * </p>
 *
 * @author dechao.yang
 * @since 2017-12-14
 */
@TableName("shop_goods_category")
public class ShopGoodsCategory extends Model<ShopGoodsCategory> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类编号 
     */
    @TableId("category_id")
	private Long categoryId;
    /**
     * 分类名称
     */
	@TableField("category_name")
	private String categoryName;
    /**
     * 父级分类编号
     */
	@TableField("category_parent_id")
	private Long categoryParentId;
    /**
     * 排序
     */
	@TableField("category_sort")
	private Integer categorySort;
    /**
     * 分类关键字
     */
	@TableField("category_keyword")
	private String categoryKeyword;
    /**
     * 分类图片
     */
	@TableField("category_image")
	private String categoryImage;
    /**
     * 推荐标志0-不推荐 1-推荐到首页
     */
	@TableField("category_commend")
	private Integer categoryCommend;
    /**
     * 默认标志，0-非默认 1-默认
     */
	@TableField("category_default")
	private Integer categoryDefault;


	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Long getCategoryParentId() {
		return categoryParentId;
	}

	public void setCategoryParentId(Long categoryParentId) {
		this.categoryParentId = categoryParentId;
	}

	public Integer getCategorySort() {
		return categorySort;
	}

	public void setCategorySort(Integer categorySort) {
		this.categorySort = categorySort;
	}

	public String getCategoryKeyword() {
		return categoryKeyword;
	}

	public void setCategoryKeyword(String categoryKeyword) {
		this.categoryKeyword = categoryKeyword;
	}

	public String getCategoryImage() {
		return categoryImage;
	}

	public void setCategoryImage(String categoryImage) {
		this.categoryImage = categoryImage;
	}

	public Integer getCategoryCommend() {
		return categoryCommend;
	}

	public void setCategoryCommend(Integer categoryCommend) {
		this.categoryCommend = categoryCommend;
	}

	public Integer getCategoryDefault() {
		return categoryDefault;
	}

	public void setCategoryDefault(Integer categoryDefault) {
		this.categoryDefault = categoryDefault;
	}

	@Override
	protected Serializable pkVal() {
		return this.categoryId;
	}

}
